package rentadomus

class Pqr {
    
    Place place
    String title
    String description
    String status
    Date dateRequested
    Date dateResolved
    
    static mapping={
        version false
        dateRequested column:"date_requested"
        dateResolved column:"date_resolved"
    }

    static constraints = {
        dateResolved nullable:true
        title blank:false, size: 7..100
        description blank: false, size: 10..400
    }
}
